<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <title>Pizza</title>
  <link rel="stylesheet" href="/modules/pizza/css/ui.css?_t=undefined">
  <!-- <link rel="stylesheet" href="/modules/pizza/css/reset.css?_t=undefined"> -->
  <!-- <link rel="stylesheet" href="/modules/pizza/css/contain.css?_t=undefined"> -->
  <link rel="stylesheet" href="/modules/pizza/css/layout.css?_t=undefined">
</head>
<body>
<script type="text/javascript" src="//static.xinhuaapp.com/js/jquery-1.11.0-min.js"></script>
<script type="text/javascript" src="//static.xinhuaapp.com/js/juicer-min.js"></script>
<script type="text/javascript" src="/modules/pizza/js/pizza.js?_t=undefined"></script>
<script type="text/javascript">
document.title = 'Pizza V' + pizzaConfig['version'];
var layoutData = {
  'logo': 'static/img/logo.png',
  'nav': [
    {
      "title": "UI样式",
      "list": [
        {
          "title": "数据表格",
          "link": "ui/table.html"
        }, {
          "title": "按钮 & 标签",
          "link": "ui/btn.html"
        }, {
          "title": "表单",
          "link": "ui/form.html"
        }, {
          "title": "小图标",
          "link": "ui/icon.html"
        }, {
          "title": "进度条 & 信息条",
          "link": "ui/bar.html"
        }, {
          "title": "弹窗",
          "link": "ui/overlay.html"
        }, {
          "title": "树形结构",
          "link": "ui/tree.html"
        }, {
          "title": "选项卡",
          "link": "ui/tab.html"
        }, {
          "title": "提示框",
          "link": "ui/tooltip.html"
        }
      ]
    }, {
      "title": "功能组件",
      "list": [
        {
          "title": "图片截取",
          "link": "fn/cutimg.html"
        },{
          "title": "表单元素",
          "link": "fn/formelem.html"
        }
      ]
    }
  ],
  'other': [
    {
      "class": "icon-account",
      "title": "Admin",
      "listAlign": "left",
      "list": [
        {
          "title": "个人中心",
          "link": "user/index.html"
        }, {
          "title": "修改密码",
          "link": "user/pwd.html"
        }, {
          "title": "重置",
          "link": "user/reset.html"
        }
      ]
    }, {
      "class": "icon-compass",
      "title": "系统",
      "listAlign": "right",
      "list": [
        {
          "title": "开发帮助",
          "link": "system/help.html"
        }, {
          "title": "升级日志",
          "link": "system/update.html"
        }, {
          "title": "技术支持",
          "link": "system/about.html"
        }
      ]
    }, {
      "class": "icon-skip",
      "title": "退出",
      "link": "logout.html"
    }
  ]
};
// pizzaCmd.layout(layoutData);
pizzaCmd.module("layout", null, function(layoutFn){
  layoutFn(layoutData, function(){
    console.log("布局渲染完毕");
  })
})
</script>
</body>
</html>